package com.haorui.lygyd.authority.dto;

import com.haorui.base.core.dto.AuthDto;
import com.haorui.base.system.enumerate.AccountType;
import lombok.Data;

/**
 * @author 陈刚
 * @version 1.0
 * @project znsm
 * @package com.haorui.znsm.authority.dto
 * @createDate 2018-03-16 15:32
 * @modfiyDate
 * @function
 */
@Data
public class AccountAuthDto  implements AuthDto {
    private String id;
    private String userName;
    private String realName;
    private String token;
    private AccountType accountType;
    private String photo;
    private String orgid;
    private String orgName;

    @Override
    public String getType() {
        return accountType.getCode();
    }
}
